package com.linjiahao.nettyOne.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName MessageVO
 * @Description: 好友聊天记录
 * @Author linjiahao
 * @Date 11/1/2022
 **/
@Data
public class MessageVO {
    @JSONField(serializeUsing= ToStringSerializer.class)
    private Long userId;
    private Long friendId;
    private String img;
    @JSONField(format="yyyy/MM/dd HH:mm")
    private Date messageTime;
    private Boolean self;
    private String messageData;
}
